home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 5 Developer's Kit / vb5 dev kit.iso / dev / mailx6 / _setup.2 / Group5 / MSGFORM.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-05-23  |  6.5 KB  |  224 lines

  1. VERSION 2.00
  2. Begin Form MsgForm 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   3  'Fixed Double
  5.    Caption         =   "Message Form"
  6.    ClientHeight    =   3975
  7.    ClientLeft      =   1530
  8.    ClientTop       =   4200
  9.    ClientWidth     =   6285
  10.    Height          =   4350
  11.    Left            =   1485
  12.    LinkTopic       =   "Form1"
  13.    MDIChild        =   -1  'True
  14.    ScaleHeight     =   3975
  15.    ScaleWidth      =   6285
  16.    Top             =   3870
  17.    Width           =   6375
  18.    Begin MFile MFile1 
  19.       BindString      =   "MMsg1"
  20.       DisplayDialog   =   0   'False
  21.       DisplayErrors   =   0   'False
  22.       Height          =   420
  23.       Left            =   720
  24.       Top             =   1680
  25.       Width           =   420
  26.    End
  27.    Begin MReci MReci1 
  28.       AddRecipientClass=   1  '1- TO:
  29.       AddressCaption  =   ""
  30.       AddressEditNum  =   3
  31.       BindString      =   "MMsg1"
  32.       DetailModifiable=   -1  'True
  33.       DisplayErrors   =   0   'False
  34.       FetchType       =   0  '0- Originator
  35.       Height          =   420
  36.       Left            =   120
  37.       ResolveDialog   =   -1  'True
  38.       Top             =   1680
  39.       Width           =   420
  40.    End
  41.    Begin MMsg MMsg1 
  42.       BindString      =   "FormTag2.MSess1"
  43.       BodyAsFile      =   0   'False
  44.       DisplayErrors   =   0   'False
  45.       DisplaySendDialog=   -1  'True
  46.       EnvelopeOnly    =   0   'False
  47.       FastFetch       =   -1  'True
  48.       FetchMsgType    =   ""
  49.       Height          =   420
  50.       Left            =   600
  51.       MarkAsRead      =   -1  'True
  52.       SortMsg         =   0   'False
  53.       SuppressAttach  =   -1  'True
  54.       TimeFormat      =   "%I:%M:%S %p. %B %d, %Y "
  55.       Top             =   3480
  56.       UnreadOnly      =   0   'False
  57.       Width           =   420
  58.       WorkingMsg      =   0  '0- Inbox Message
  59.    End
  60.    Begin MForm MForm1 
  61.       Height          =   255
  62.       Left            =   3480
  63.       MXFormName      =   "FormTag4"
  64.       Top             =   3600
  65.       Width           =   1815
  66.    End
  67.    Begin ComboBox szFileList 
  68.       Height          =   300
  69.       Left            =   1320
  70.       TabIndex        =   15
  71.       Top             =   2655
  72.       Width           =   1935
  73.    End
  74.    Begin TextBox szOriginator 
  75.       Height          =   375
  76.       Left            =   4440
  77.       TabIndex        =   14
  78.       Top             =   2640
  79.       Width           =   1575
  80.    End
  81.    Begin SSPanel Panel3D1 
  82.       BevelInner      =   1  'Inset
  83.       Height          =   615
  84.       Left            =   -15
  85.       TabIndex        =   8
  86.       Top             =   0
  87.       Width           =   6300
  88.       Begin CommandButton BtnSend 
  89.          Caption         =   "Send"
  90.          Height          =   420
  91.          Left            =   4290
  92.          TabIndex        =   16
  93.          Top             =   75
  94.          Width           =   1125
  95.       End
  96.       Begin CommandButton BtnForward 
  97.          Caption         =   "Forward"
  98.          Height          =   420
  99.          Left            =   2865
  100.          TabIndex        =   11
  101.          Top             =   75
  102.          Width           =   1155
  103.       End
  104.       Begin CommandButton btnReply 
  105.          Caption         =   "Reply"
  106.          Height          =   420
  107.          Left            =   1440
  108.          TabIndex        =   10
  109.          Top             =   75
  110.          Width           =   1170
  111.       End
  112.       Begin CommandButton BtnHide 
  113.          Caption         =   "Hide Msg"
  114.          Height          =   420
  115.          Left            =   105
  116.          TabIndex        =   9
  117.          Top             =   75
  118.          Width           =   1125
  119.       End
  120.    End
  121.    Begin TextBox szMsgID 
  122.       Height          =   495
  123.       Left            =   1320
  124.       TabIndex        =   7
  125.       Top             =   3120
  126.       Width           =   4695
  127.    End
  128.    Begin TextBox szTime 
  129.       Height          =   375
  130.       Left            =   1200
  131.       TabIndex        =   6
  132.       Top             =   2160
  133.       Width           =   4815
  134.    End
  135.    Begin TextBox szNoteText 
  136.       Height          =   855
  137.       Left            =   1200
  138.       MultiLine       =   -1  'True
  139.       TabIndex        =   3
  140.       Top             =   1200
  141.       Width           =   4815
  142.    End
  143.    Begin TextBox szSubject 
  144.       Height          =   375
  145.       Left            =   1200
  146.       TabIndex        =   1
  147.       Top             =   720
  148.       Width           =   4815
  149.    End
  150.    Begin Label Label6 
  151.       BackColor       =   &H00C0C0C0&
  152.       Caption         =   "Attachments:"
  153.       Height          =   375
  154.       Left            =   120
  155.       TabIndex        =   13
  156.       Top             =   2640
  157.       Width           =   1215
  158.    End
  159.    Begin Label Label5 
  160.       BackColor       =   &H00C0C0C0&
  161.       Caption         =   "Originator:"
  162.       Height          =   375
  163.       Left            =   3450
  164.       TabIndex        =   12
  165.       Top             =   2685
  166.       Width           =   960
  167.    End
  168.    Begin Label Label4 
  169.       BackColor       =   &H00C0C0C0&
  170.       Caption         =   "Message ID:"
  171.       Height          =   375
  172.       Left            =   120
  173.       TabIndex        =   5
  174.       Top             =   3240
  175.       Width           =   1215
  176.    End
  177.    Begin Label Label3 
  178.       BackColor       =   &H00C0C0C0&
  179.       Caption         =   "Time:"
  180.       Height          =   270
  181.       Left            =   150
  182.       TabIndex        =   4
  183.       Top             =   2235
  184.       Width           =   855
  185.    End
  186.    Begin Label Label2 
  187.       BackColor       =   &H00C0C0C0&
  188.       Caption         =   "Note Text:"
  189.       Height          =   375
  190.       Left            =   120
  191.       TabIndex        =   2
  192.       Top             =   1200
  193.       Width           =   975
  194.    End
  195.    Begin Label Label1 
  196.       BackColor       =   &H00C0C0C0&
  197.       Caption         =   "Subject:"
  198.       Height          =   375
  199.       Left            =   120
  200.       TabIndex        =   0
  201.       Top             =   720
  202.       Width           =   855
  203.    End
  204. Sub BtnForward_Click ()
  205.     MMsg1.NoteText = szNoteText
  206.     MMsg1.Action = ACTION_FORWARD
  207.     MMsg1.Action = ACTION_SENDMSG
  208. End Sub
  209. Sub BtnHide_Click ()
  210.     Unload Me
  211. End Sub
  212. Sub btnReply_Click ()
  213.     MMsg1.Action = ACTION_REPLY
  214.     MMsg1.Action = ACTION_SENDMSG
  215. End Sub
  216. Sub BtnSend_Click ()
  217.     MMsg1.Subject = szSubject
  218.     MMsg1.NoteText = szNoteText
  219.     MMsg1.Action = ACTION_SENDMSG
  220.     If MMsg1.ErrorNum <> 0 Then
  221.         MsgBox "Error Sending Message"
  222.     End If
  223. End Sub
  224.